﻿<%@ Page Language="C#" MasterPageFile="~/Shared/EOS.Master" AutoEventWireup="true"
    CodeBehind="XemThongTinKhachHang.aspx.cs" Inherits="EOSCRM.Web.Forms.DongHo.BaoCao.XemThongTinKhachHang" %>
<%@ Import Namespace="EOSCRM.Web.Common" %>


<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="head" ContentPlaceHolderID="headCPH" runat="server">

    <script type="text/javascript">
        function CheckFormReport() {
           openWaitingDialog();
           unblockWaitingDialog();

           __doPostBack('<%= CommonFunc.UniqueIDWithDollars(btnBaoCao) %>', '');
       }
    
    </script>
</asp:Content>
<asp:Content ID="content" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div class="crmcontainer">
        <table class="crmtable">
            <tbody>
                <tr>
                    <td class="crmcell right">Danh bộ</td>
                    <td class="crmcell">
                        <div class="left">
                            <asp:TextBox ID="txtMaDB" runat="server" Width="75px" />
                        </div>
                        
                        <%--<div class="left">
                            <div class="right">Tên khách hàng</div>
                        </div>
                        <div class="left">
                            <asp:TextBox ID="txtTenKhachHang" runat="server" Width="75px" Height="16px" />
                        </div>--%>
                    </td>
                </tr>
                <tr>
                    <td class="crmcell right">
                    </td>
                    <td class="crmcell">
                        <div class="left">
                            <asp:Button ID="btnBaoCao" runat="server" OnClick="btnBaoCao_Click"  
                                        OnClientClick="return CheckFormReport();" CssClass="report" />
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <br/>
    <div class="crmcontainer" id="divreport" runat="server" Visible="False">
        <CR:CrystalReportViewer ID="rpViewer" runat="server" PrintMode="ActiveX" AutoDataBind="true" DisplayGroupTree="False" />
    </div>
</asp:Content>
